﻿using System.Data;
using MyWeb.Data;

namespace MyWeb.Business
{
	public class tblSTAFFService
	{
		private static readonly tblSTAFFDAL db = new tblSTAFFDAL();
		#region[tblSTAFF_GetById]
		public static DataTable tblSTAFF_GetById(string Id)
		{
			return db.tblSTAFF_GetById(Id);
		}
		#endregion
		#region[tblSTAFF_GetByAll]
		public static DataTable tblSTAFF_GetByAll()
		{
			return db.tblSTAFF_GetByAll();
		}
		#endregion
		#region[tblSTAFF_GetByTop]
		public static DataTable tblSTAFF_GetByTop(string Top, string Where, string Order)
		{
			return db.tblSTAFF_GetByTop(Top, Where, Order);}
		#endregion
		#region[tblSTAFF_Insert]
		public static void tblSTAFF_Insert(tblSTAFFInfo Data)
		{
			 db.tblSTAFF_Insert(Data);
		}
		#endregion
		#region[tblSTAFF_Update]
		public static void tblSTAFF_Update(tblSTAFFInfo Data)
		{
			 db.tblSTAFF_Update(Data);
		}
		#endregion
		#region[tblSTAFF_Delete]
		public static void tblSTAFF_Delete(string Id)
		{
			 db.tblSTAFF_Delete(Id);
		}
		#endregion
		#region[tblSTAFF_GetBySTAFF_TYPE_CODE]
		public static DataTable tblSTAFF_GetBySTAFF_TYPE_CODE(string STAFF_TYPE_CODE)
		{
			 return db.tblSTAFF_GetBySTAFF_TYPE_CODE(STAFF_TYPE_CODE);
		}
		#endregion
	}
}